package sync.quartz;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import sync.ssc.SyncPK;
import sync.ssc.SyncSSC;

public class PKTenJob implements Job{

	private static int pkCount = 1;
	private static Logger logger = LoggerFactory.getLogger(PKTenJob.class.getName());

	public PKTenJob(){}

	@Override
	public void execute(JobExecutionContext context) throws JobExecutionException {
		syncPK();
	}

	private static void syncPK(){
		try{
			SyncPK p =new SyncPK();
			p.getDataFromGuanWang();
		}catch(Exception e){
			logger.debug("PK官网同步",e);
		}
		
	}
}